class nis::config{
	file{ "nis":
		path => "/etc/default/nis",
		content => template("nis/nis.erb"),
		mode   => 644,
		owner  => root,
		group  => root,
		require => Class['nis::install']
	}
	file{ "ypserv":
		path	=> "/etc/ypserv.conf",
		owner	=> root,
		group	=> root,
		mode	=> 644,	
		source	=> "puppet:///modules/nis/ypserv.conf",
		require => Class['nis::install']
	}
	file{
		"ypsercue":
		path	=> "/etc/ypserv.securenets",
		owner	=> root,
		group	=> root,
		mode	=> 644,
		source 	=> "puppet:///modules/nis/ypserv.securenets",
		require => Class['nis::install']
	}
	File["ypserv"] ~> Class['nis::exec']	
	File["nis"] ~>  Class['nis::exec']	
	File["ypsercue"] ~>Exec["make-lib"]	

}
